package com.gec.obwiki.service;

import com.gec.obwiki.domain.dto.UserLoginReq;
import com.gec.obwiki.domain.dto.UserQueryReq;
import com.gec.obwiki.domain.dto.UserResetPasswordReq;
import com.gec.obwiki.domain.dto.UserSaveReq;
import com.gec.obwiki.domain.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gec.obwiki.domain.vo.PageResp;
import com.gec.obwiki.domain.vo.UserLoginResp;
import com.gec.obwiki.domain.vo.UserQueryResp;

/**
* @author adim
* @description 针对表【user】的数据库操作Service
* @createDate 2025-06-23 11:12:38
*/
public interface UserService extends IService<User> {

    PageResp<UserQueryResp> listByname(UserQueryReq req);

    void save(UserSaveReq req);

    void delete(Long id);

    void resetPassword(UserResetPasswordReq req);

    UserLoginResp login(UserLoginReq req);
}
